<template>
    <view>	
        <u-toast ref="uToast" /><u-no-network></u-no-network>
        <u-navbar title="商家中心" safeAreaInsetTop fixed placeholder>
            <view class="coreshop-navbar-left-slot" slot="left">
                <u-icon name="arrow-left" size="19" @click="goNavigateBack"></u-icon>
                <u-line direction="column" :hairline="false" length="16" margin="0 8px"></u-line>
                <u-icon name="home" size="22" @click="goHome"></u-icon>
            </view>
            <view slot="right">
            </view>
        </u-navbar>
			
        <view class="coreshop-view-content">	
            <!--其他-->
            <view class="coreshop-padding-top-10 coreshop-padding-left-10 coreshop-padding-right-10 coreshop-padding-bottom-30 coreshop-bg-white coreshop-margin-top-50 coreshop-user-info-tools-box">
                <view class="coreshop-padding-10 tools-view">
                    <view class="coreshop-text-black coreshop-text-bold coreshop-font-lg tools-title">商品管理</view>
                </view>
                <view class="coreshop-tools-list-box">

                    <u-grid :col="4" :border="false">
                        <u-grid-item @click="toGoodsAdd()">
                            <u-icon name="home" :size="25" color="#666" label="商品发布" labelPos="bottom" labelSize="13" space="25" top="15"></u-icon>
                        </u-grid-item>

                        <u-grid-item @click="toGoodsMgt()">
                            <u-icon name="search" :size="25" color="#666" label="商品管理" labelPos="bottom" labelSize="13" space="25" top="15"></u-icon>
                        </u-grid-item>
						
                        <u-grid-item @click="toOrderMgt()">
                            <u-icon name="list" :size="25" color="#666" label="订单管理" labelPos="bottom" labelSize="13" space="25" top="15"></u-icon>
                        </u-grid-item>	
                    </u-grid>
                </view>
            </view>
        </view>	
    </view>							
	
</template>

<script>
	
    //import { mapState } from 'vuex';
		
    export default {
		
        data() {
            return {
}
        },	
        methods: {			
			toGoodsAdd() {
			    this.$u.route({ url: '/pages/member/goods/goodGrounding/grounding' });
			},
			toGoodsMgt() {
			    this.$u.route({ url: '/pages/member/goods/goodsearch/goodsearch' });
			},
			toOrderMgt() {
			    this.$u.route({ url: '/pages/member/order/index/index' });
			},
		}
		
	}
	
</script>

<style lang="scss" scoped>
    @import "index.scss";	
</style>